//
//  YWTakePhotoCell.h
//  maintain
//
//  Created by 烟雨云渊 on 16/8/9.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YWTakePhotoCellDelegate <NSObject>
- (void)resetCellFrameWithImages:(NSArray*)images cell:(UITableViewCell*)cell;
@end;

static NSString *const YWTakePhotoCellIdentifier = @"YWTakePhotoCellIdentifier";

@interface YWTakePhotoCell : UITableViewCell
@property (nonatomic, weak) id<YWTakePhotoCellDelegate>delegate;
@property (nonatomic, strong) NSArray *totalImageNameArray;//本地拍照的图片
//是否只是显示图片(NO:没有添加图片按钮,YES:有添加图片按钮)
@property (nonatomic, assign) BOOL canAddPhoto;
//是否可以从相册选取图片(NO:只能拍照,YES:既可以拍照也可以从相册选取)
@property (nonatomic, assign) BOOL pickFromPhotoLibrary;
@end
